package com.salton123.lib_database.db.dao

import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.salton123.lib_database.db.entity.ApkEntity

/**
 * Time:5/9/21 7:06 PM
 * Author:
 * Description:
 */
@Dao
interface ApkDao {
//    @Insert(onConflict = OnConflictStrategy.REPLACE)
//    suspend fun addOrUpdate(vararg items: ApkEntity): MutableList<Long>
//
//    @Query("delete from apk_entity where packageName in (:packageNames)")
//    suspend fun remove(vararg packageNames: String): Int
//
//    @Query("select * from apk_entity")
//    fun loadAll(): LiveData<MutableList<ApkEntity>>
}